<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>doublebind</title>
</head>
<body>
<div id="app">
    <input v-model="message"/>

</div>
<script src="./node_modules/vue/dist/vue.js"></script>
<script type="text/javascript">
    var vm = new Vue({
        el: "#app",

        data:{
            message:"heima38"
        },
        watch:{
            message(newVal, oldVal){
                console.log(newVal+":"+oldVal);
            }
        }
    })
</script>
</body>
</html>